af_vserver_policy
Configuration for Virtual server Policy resource.
Read/write properties
__count<Double>
Number of records.
id<String>
Id is type of policy rule.
Minimum length = 1
Maximum length = 64
vserver_type<String>
virtual server type.
Maximum length = 255
servicetype<String>
Type of Service.
policy_rule<String>
Policy rule.
Maximum length = 255
Operations
NOTE: In request payload, Mandatory parameters are marked red and bold.
The following parameters can be used in the nitro request :
onerror <String_value>
Use this parameter to set the onerror status for nitro request. Applicable only for bulk requests.
Default value: EXIT
Possible values = EXIT, CONTINUE
URL:https://<MGMT-IP>/nitro/v2/config/af_vserver_policy
Query-parameters:
HTTPS Method:GET
HTTPS Request Headers:
Accept:application/json
X-NITRO-USER:username_value<String>
X-NITRO-PASS:password_value<String>
or
Cookie:NITRO_AUTH_TOKEN=token_value<String>
Response:
HTTPS Status Code on Success: 200 OK HTTPS Status Code on Failure: 4xx
Response Headers:
Content-Type:application/json
Response Payload:JSON
{ "errorcode": 0, "message": "Done", "severity": <String_value>, "af_vserver_policy":[{
"__count":<Double_value>,
"id":<String_value>,
"vserver_type":<String_value>,
"servicetype":<String_value>,
"policy_rule":<String_value>}]}